-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reusable Transfer Screen #149
Conversation
I will review it tomorrow |
@@ -75,7 +75,7 @@ export async function generateTransferTx(payload: { | |||
const recoveredBalance = await getBalance(senders); | |||
const inputs = _getInputs(senderUtxos, addressesWithFunds); | |||
|
|||
// pick which address to send migration to | |||
// pick which address to send transfer to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️
<div className={styles.title}> | ||
{title} | ||
</div> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this formatting is a little strange. is it manual?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(the line breaks)
LGTM |
To enable transferring V2 wallets as discussed in #125
We will have two screens: One for v2 wallet transfer and one for Daedalus transfer
To make these screen easier to make, I extracted parts of the Daedalus transfer screen into customizable components that way we can reuse the UI code.
I also got rid of the dialog option on the transfer screen
Here is the rationale I gave for doing so
Note: To avoid the PR getting too big, this PR only extracts out the components and doesn't actually implement the new v2 wallet transfer screen.